body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }
  
  .property-detail-container {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
  }
  
  .image-slider {
    flex: 1 1 50%;
    position: relative;
    padding: 10px;
  }
  
  .slides img {
    width: 100%;
    height: auto;
    display: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .slides img:first-child {
    display: block;
  }
  
  .property-info {
    flex: 1 1 50%;
    padding: 10px;
  }
  
  .property-title {
    font-size: 2em;
    margin: 0 0 10px;
  }
  
  .property-location {
    font-size: 1.2em;
    color: #008080;
  }
  
  .property-price {
    font-size: 1.5em;
    color:#008080;
    margin: 10px 0;
  }
  
  .property-description, .property-features {
    margin: 20px 0;
  }
  
  .property-features ul {
    list-style-type: none;
    padding: 0;
  }
  
  .property-features ul li {
    background: url('path/to/checkmark-icon.png') no-repeat left center;
    padding-left: 25px;
    margin: 5px 0;
  }
  
  .contact-agent-button {
    background-color:#ffd700;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
  }
  .contact-agent-button a{
    text-decoration: none;
    color:black;
  }
  .contact-agent-button:hover {
    background-color: #008080;
  }
  .contact-agent-button a:hover{
    color: white;
  }
  
@media (max-width: 1080px) {
  .property-detail-container {
    flex-direction: column;
    padding: 10px;
  }

  .image-slider,
  .property-info {
    flex: 1 1 100%;
    padding: 10px 0;
  }

  .property-title {
    font-size: 1.6em;
  }

  .property-location {
    font-size: 1em;
  }

  .property-price {
    font-size: 1.3em;
  }

  .contact-agent-button {
    width: 100%;
    text-align: center;
    background-color: #008080; /* Updated color for <=1080px */
  }

  .contact-agent-button a {
    color: white; /* Link color override */
  }

  .contact-agent-button:hover {
    background-color: #ffd700; /* Hover background for button */
  }

  .contact-agent-button a:hover {
    color: black; /* Hover text color */
  }
}

  @media (max-width: 1024px) {
  .property-detail-container {
    flex-direction: column;
  }

  .image-slider, .property-info {
    flex: 1 1 100%;
  }

  .property-title {
    font-size: 1.8em;
  }

  .property-price {
    font-size: 1.4em;
  }

  .contact-agent-button {
    background-color: #008080;
  }

  .contact-agent-button a {
    color: white;
  }

  .contact-agent-button:hover {
    background-color: #ffd700;
  }

  .contact-agent-button a:hover {
    color: black;
  }
}

 @media (max-width: 912px) {
  .property-title {
    font-size: 1.7em;
  }

  .property-price {
    font-size: 1.3em;
  }

  .property-location {
    font-size: 1.1em;
  }

  .contact-agent-button {
    background-color: #008080;
  }

  .contact-agent-button a {
    color: white;
  }
}

  @media (max-width: 853px) {
  .property-title {
    font-size: 1.6em;
  }

  .contact-agent-button {
    width: 100%;
    text-align: center;
    background-color: #008080;
  }

  .contact-agent-button a {
    color: white;
  }
}

  @media (max-width: 820px) {
  .property-title {
    font-size: 1.5em;
  }

  .property-info, .image-slider {
    padding: 5px;
  }

  .contact-agent-button {
    font-size: 0.95em;
    background-color: #008080;
  }

  .contact-agent-button a {
    color: white;
  }
}

  @media (max-width: 768px) {
    .property-detail-container {
      flex-direction: column;
    }
  
    .image-slider, .property-info {
      flex: 1 1 100%;
    }
    .contact-agent-button{
      background-color: #008080;
    }
    .contact-agent-button a{
      color: white;
    }
    .contact-agent-button:hover{
      background-color: #ffd700;
    }
    .contact-agent-button a:hover{
      color: black;
    }
  }

  @media (max-width: 480px) {
    .property-detail-container {
      flex-direction: column; /* Stack items vertically on small screens */
    }
  
    .image-slider, .property-info {
      flex: 1 1 100%; /* Make both elements take up full width */
    }
  
    .contact-agent-button {
      background-color: #008080;
    }
  
    .contact-agent-button a {
      color: white;
    }
  
    .contact-agent-button:hover {
      background-color: #ffd700;
    }
  
    .contact-agent-button a:hover {
      color: black;
    }
  }

  @media (max-width: 414px) {
    .property-detail-container {
      flex-direction: column; /* Stack items vertically on small screens */
    }
  
    .image-slider, .property-info {
      flex: 1 1 100%; /* Ensure both elements take up full width */
    }
  
    .contact-agent-button {
      background-color: #008080;
    }
  
    .contact-agent-button a {
      color: white;
    }
  
    .contact-agent-button:hover {
      background-color: #ffd700;
    }
  
    .contact-agent-button a:hover {
      color: black;
    }
  }

 @media (max-width: 375px) {
    .property-detail-container {
      flex-direction: column; /* Stack items vertically on small screens */
    }
  
    .image-slider, .property-info {
      flex: 1 1 100%; /* Make both elements take up full width */
    }
  
    .contact-agent-button {
      background-color: #008080;
    }
  
    .contact-agent-button a {
      color: white;
    }
  
    .contact-agent-button:hover {
      background-color: #ffd700;
    }
  
    .contact-agent-button a:hover {
      color: black;
    }
  }

@media (max-width: 360px) {
    .property-detail-container {
      flex-direction: column; /* Stack items vertically on small screens */
    }
  
    .image-slider, .property-info {
      flex: 1 1 100%; /* Ensure both elements take up full width */
    }
  
    .contact-agent-button {
      background-color: #008080;
    }
  
    .contact-agent-button a {
      color: white;
    }
  
    .contact-agent-button:hover {
      background-color: #ffd700;
    }
  
    .contact-agent-button a:hover {
      color: black;
    }
  }